package u13.eje2;

import javax.swing.JFrame;

public class PrimeraVentana extends JFrame{
	public void Inicializar(){
		setLocation(400, 200);
		setSize(400, 200);
		setTitle("Mi primera aplicacion");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setVisible(true);
	}
	public PrimeraVentana(){
		Inicializar();
	}
	public static void main(String[] args) {
		new PrimeraVentana();
		
	}
}
